<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<meta charset="UTF-8">
	<head>
		<title>图片上传预览演示-柯乐义</title>
		<script src="js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/uploadPreview.js" type="text/javascript"></script>
		<script>
			$(function() {
				$("#up").uploadPreview({ Img: "ImgPr", Width: 120, Height: 120 });
			});
		</script>
	</head>

	<body>
		<div style="width:500px;margin:0px auto;">
			<h2>图片上传预览演示</h2>
			<a href="http://keleyi.com/a/bjac/4g8fo9yu.htm" target="_blank">原文</a>

			<div><img id="ImgPr" width="120" height="120" /></div>
			<input type="file" id="up" />
		</div>

	</body>

</html>